package net.huashitong.supervision.task.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: ling
 * Date: 2019/9/16
 * Time: 20:30
 * To change this template use File | Settings | File Templates.
 * Description:任务时限表
 */
@Entity
@Table(name = "t_time_limit")
public class TimeLimit extends StringEntity {
    private String specialTaskId;  //特殊任务id  责任单位表id
    private String taskSubId;  //子任务id；
    private String taskUnitId; //单位任务id
    private String timeType;  //时限类型 单时限1； 周期2 ； 多时限
    private String period;    //周期：周1月2季度3
    private String day;      // 周期。每隔几天
    private String week;     //周几
    private String month;   //每月几号
    private String quarter;      //周期的jidu
    private String timeLimit; //单时限
    private String timeLimits;  //多时限
    private String state;     //时限状态、、0，结束 1.未结束
    private String del;   //删除标识（当字段有值时表示任务一删除）

    public String getSpecialTaskId() {
        return specialTaskId;
    }

    public void setSpecialTaskId(String specialTaskId) {
        this.specialTaskId = specialTaskId;
    }

    public String getDel() {
        return del;
    }

    public void setDel(String del) {
        this.del = del;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getQuarter() {
        return quarter;
    }

    public void setQuarter(String quarter) {
        this.quarter = quarter;
    }

    public String getTaskSubId() {
        return taskSubId;
    }

    public void setTaskSubId(String taskSubId) {
        this.taskSubId = taskSubId;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getTaskUnitId() {
        return taskUnitId;
    }

    public void setTaskUnitId(String taskUnitId) {
        this.taskUnitId = taskUnitId;
    }

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(String timeLimit) {
        this.timeLimit = timeLimit;
    }

    public String getTimeLimits() {
        return timeLimits;
    }

    public void setTimeLimits(String timeLimits) {
        this.timeLimits = timeLimits;
    }
}

